<script type="text/javascript">
$(document).ready(function () {
	UE.delEditor('uecontainer_{$name}_{$option}'); 
	if(ue_{$name}_{$option}){
		ue_{$name}_{$option} = null;
	}else{
		var ue_{$name}_{$option} = null;
	}
	ue_{$name}_{$option} = UE.getEditor('uecontainer_{$name}_{$option}');
});
</script>
<div class="form-group">
	<label class="col-sm-2 control-label">
    <if condition="$config['require']"><span style="color:red">*</span></if>
	<if condition="$config['title']">
		{$config.title}：
		<else/>
		{:L($name)}：
	</if></label>
	<div class="col-sm-10">
		 <script id="uecontainer_{$name}_{$option}" name="{$name}" type="text/plain" style="width:700px">{$value|htmlspecialchars_decode}</script>
	</div>
</div>